package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.Result;
import com.itheima.pojo.Management;
import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    public void add(OrderSetting orderSetting);
    public void editNumberByOrderDate(OrderSetting orderSetting);
    public long findCountByOrderDate(Date orderDate);
    public List<OrderSetting> getOrderSettingByMonth(Map map);
    public OrderSetting findByOrderDate(Date orderDate);
    public void editReservationsByOrderDate(OrderSetting orderSetting);
    public Page<Management> findByCondition(Map map);;
    Page<Management> findOrderCondition(String queryString);
    public void add1(Management management);
    public void delete(int id);
    void editStatus(Management management);

    void edit(Management management);

    Management findByOrder(Management management);

    int findSetmealIdsByOrderId(Integer id);
}
